package com.zx.idc.backend.gui.sys.service;

import com.zx.idc.ds.common.service.BaseService;
import com.zx.idc.ds.sys.bean.DataBackupSetting;
import com.zx.idc.ds.sys.bean.OffSiteBackupSetting;
import com.zx.idc.ds.sys.entity.SysBackupLog;

/**
 * @author rxliuli
 */
public interface ISysBackupLogJobService extends BaseService<SysBackupLog> {
    /**
     * 更新自动备份配置项
     *
     * @param dataBackupSetting    数据备份设置
     * @param offSiteBackupSetting 异地备份设置
     * @param id
     * @return 是否备份成功
     */
    Boolean updateSettings(DataBackupSetting dataBackupSetting, OffSiteBackupSetting offSiteBackupSetting, Integer id);
}
